package private1;

import static jdk.nashorn.internal.objects.Global.print;

public class ToString {
    static void print(Object obj){
        System.out.println(obj);
    }
    public static void main(String[] args) {
        X x=new X();
        Y y=new Y();
        int[] c=new int[5];
        print(x);
        print(y);
        print(c);
    }
}
